/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package ejercicio.practica9;

/**
 *
 * @author manolo
 */
public class monitorCadena_3 implements Runnable{
    
    private Matriz m;

    public monitorCadena_3(Matriz m) {
        this.m = m;
    }


    @Override
    public void run() {
        while (true) {
            for (int i = 0; i < 50; i++) {
                m.diagonal(i);
            }            
        }
    }
}
